#include <bits/stdc++.h>
#define ll long long
using namespace std;

int main(){
  int a,b;
  char jia,den;
  cin>>a>>jia>>b>>den;
  cout<<a<<jia<<b<<den<<a+b<<endl;
  printf("%7d\n",a);
  printf("%c",jia);
  printf("%6d\n",b);
  printf("-------\n");
  printf("%7d",a+b);

  return 0;
}